<#import "/include/ui.ftl" as blue />
<table class="am-table am-table-striped am-table-hover">
	<thead>
	<tr>
		<th width="60">序号</th>
		<th width="150">代码</th>
		<th width="200">名称</th>
		<th width="100">类型</th>
		<th width="">网址</th>
		<th width="200">创建时间</th>
		<th width="100">状态</th>
		<th width="150">操作</th>
	</tr>
	</thead>
	<tbody>
	<#list page.objectList as vo>
	<tr>
		<td>${vo_index+1}</td>
		<td>${vo.code!}</td>
		<td title="${vo.name!}">${vo.name!}</td>
		<td>${vo.type!}</td>
		<td title="${vo.url!}">${vo.url!}</td>
		<td>${(vo.createTime?datetime)!}</td>
		<td>${vo.state!}</td>
		<td>
			<div class="am-btn-group">
				<a href="${path}/wechat/wechat_get?id=${vo.id}" class="am-btn am-btn-primary am-btn-sm am-radius">编辑</a>
				<#--<a href="${path}/wechat/wechat_template_list?wechatId=${vo.id}" class="am-btn am-btn-danger am-btn-sm am-radius">模板</a>-->
				<#--<a href="${path}/wechat/wechat_menu_list?wechatId=${vo.id}" class="am-btn am-btn-default am-btn-sm am-radius">菜单</a>-->
				<#--<a href="${path}/wechat/wechat_auto_message_list?wechatId=${vo.id}" class="am-btn am-btn-warning am-btn-sm am-radius">自动回复</a>-->
			</div>
		</td>
	</tr>
	</#list>
	</tbody>
</table>
<@blue.pagebar page=page url="/wechat/wechat_list" />